package com.ccc.boot.generator;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 代码生成器启动类
 *
 * @author superC
 * @version 0.1.0
 * @date 2022/4/5
 */

@SpringBootApplication
@MapperScan("com.ccc.boot.generator.mapper")
public class GeneratorApplication {
    protected static final Logger logger = LoggerFactory.getLogger(GeneratorApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(GeneratorApplication.class, args);
        logger.info("\r\n" +
                "*********************************************************************\r\n" +
                "\r\n" +
                "**********************启动generator服务完成*************************\r\n" +
                "\r\n" +
                "*********************************************************************");
    }
}